import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:hao/utils/ColorUtil.dart';

class TTheme {
  static final dayTheme = ThemeData.light().copyWith(
      brightness: Brightness.light,
      highlightColor: Colors.transparent,
      splashColor: Colors.transparent,
      primaryColor: COLOR_WHITE,
      primaryColorDark: COLOR_NIGHT_1,
      scaffoldBackgroundColor: COLOR_WHITE_1,
      shadowColor: Colors.black26,
      bottomNavigationBarTheme:
          const BottomNavigationBarThemeData(backgroundColor: COLOR_WHITE),
      appBarTheme: const AppBarTheme(
          elevation: 0,
          centerTitle: true,
          iconTheme: IconThemeData(color: Colors.black87),
          titleTextStyle: TextStyle(
              color: Colors.black, fontWeight: FontWeight.w700, fontSize: 17),
          backgroundColor: Colors.transparent,
          systemOverlayStyle: SystemUiOverlayStyle.dark));

  static final nightTheme = ThemeData.dark().copyWith(
      brightness: Brightness.dark,
      highlightColor: Colors.transparent,
      splashColor: Colors.transparent,
      primaryColor: COLOR_NIGHT_1,
      primaryColorDark: COLOR_WHITE_1,
      scaffoldBackgroundColor: COLOR_NIGHT_2,
      shadowColor: Colors.white24,
      bottomNavigationBarTheme:
          BottomNavigationBarThemeData(backgroundColor: COLOR_NIGHT_1),
      appBarTheme: const AppBarTheme(
          elevation: 0,
          centerTitle: true,
          iconTheme: IconThemeData(color: Colors.white70),
          titleTextStyle: TextStyle(
              color: Colors.white, fontWeight: FontWeight.w700, fontSize: 17),
          backgroundColor: Colors.transparent,
          systemOverlayStyle: SystemUiOverlayStyle.light));
}
